package com.mtsmda.bookjava7.chapter2.polymorphismEx;

import java.io.IOException;

import sun.applet.AppletIOException;

public class Foo {
	
	public void doStuff(int c, String g) throws IOException{
		System.out.println("public void doStuff(int c, String g) throws IOException");
	}
	
	public static void main(String[] args) {
		
	}
	
}

class Bar extends Foo{
	
	@Override
	public void doStuff(int c, String g) throws RuntimeException, /*Exception*/ AppletIOException{
		System.out.println("public void doStuff(int c, String g)");
	}
	
	public void doStuff(int c, long g) throws Exception{
		System.out.println("public void doStuff(int c, long g) throws Exception");
	}
	
}